<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>3dchess: ChessBoard Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">3dchess
   </div>
   <div id="projectbrief">Basic chess application with OpenGL graphics and AI</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.6 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerator</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a> &#124;
<a href="#pri-methods">Private Member Functions</a> &#124;
<a href="#pri-attribs">Private Attributes</a> &#124;
<a href="#friends">Friends</a> &#124;
<a href="class_chess_board-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">ChessBoard Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Chessboard representation and logic implementation.  
 <a href="class_chess_board.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="_chess_board_8h_source.html">ChessBoard.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a881f9e15a01fa01017a1eb7234a1eee8"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a881f9e15a01fa01017a1eb7234a1eee8"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>ChessBoard</b> (std::array&lt; <a class="el" href="struct_piece.html">Piece</a>, 64 &gt; board, PlayerColor nextPlayer, std::array&lt; bool, NUM_PLAYERS &gt; shortCastleRight, std::array&lt; bool, NUM_PLAYERS &gt; longCastleRight, Field enPassantSquare, int halfMoveClock, int fullMoveClock)</td></tr>
<tr class="separator:a881f9e15a01fa01017a1eb7234a1eee8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab4aa36299b386ba09c0aaf40ef08a0c1"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab4aa36299b386ba09c0aaf40ef08a0c1"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_chess_board.html#ab4aa36299b386ba09c0aaf40ef08a0c1">applyTurn</a> (const <a class="el" href="class_turn.html">Turn</a> &amp;t)</td></tr>
<tr class="memdesc:ab4aa36299b386ba09c0aaf40ef08a0c1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Applies the given turn on current chessboard. <br/></td></tr>
<tr class="separator:ab4aa36299b386ba09c0aaf40ef08a0c1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:add1b52e7b8ee41a962d59f82792e0666"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="add1b52e7b8ee41a962d59f82792e0666"></a>
std::array&lt; <a class="el" href="struct_piece.html">Piece</a>, 64 &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_chess_board.html#add1b52e7b8ee41a962d59f82792e0666">getBoard</a> () const </td></tr>
<tr class="memdesc:add1b52e7b8ee41a962d59f82792e0666"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the chessboard in array representation. <br/></td></tr>
<tr class="separator:add1b52e7b8ee41a962d59f82792e0666"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab54fd0c9f3287221eb5d088d637fb2f3"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab54fd0c9f3287221eb5d088d637fb2f3"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_chess_board.html#ab54fd0c9f3287221eb5d088d637fb2f3">hasBlackPieces</a> () const </td></tr>
<tr class="memdesc:ab54fd0c9f3287221eb5d088d637fb2f3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns true if black pieces are on the board. <br/></td></tr>
<tr class="separator:ab54fd0c9f3287221eb5d088d637fb2f3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa0e0a4215f74f15349b29ef7a8863845"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa0e0a4215f74f15349b29ef7a8863845"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_chess_board.html#aa0e0a4215f74f15349b29ef7a8863845">hasWhitePieces</a> () const </td></tr>
<tr class="memdesc:aa0e0a4215f74f15349b29ef7a8863845"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns true if white pieces are on the board. <br/></td></tr>
<tr class="separator:aa0e0a4215f74f15349b29ef7a8863845"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6a8bbf77568617dcc75609861733d114"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6a8bbf77568617dcc75609861733d114"></a>
PlayerColor&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_chess_board.html#a6a8bbf77568617dcc75609861733d114">getNextPlayer</a> () const </td></tr>
<tr class="memdesc:a6a8bbf77568617dcc75609861733d114"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return next player to make a turn. <br/></td></tr>
<tr class="separator:a6a8bbf77568617dcc75609861733d114"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7d4081d779ec49ac4ea42bc506efe434"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7d4081d779ec49ac4ea42bc506efe434"></a>
Score&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_chess_board.html#a7d4081d779ec49ac4ea42bc506efe434">getScore</a> (PlayerColor color, size_t depth=0) const </td></tr>
<tr class="memdesc:a7d4081d779ec49ac4ea42bc506efe434"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the current estimated score. <br/></td></tr>
<tr class="separator:a7d4081d779ec49ac4ea42bc506efe434"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1b26faed1336dee886105a1201b619f4"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1b26faed1336dee886105a1201b619f4"></a>
Hash&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_chess_board.html#a1b26faed1336dee886105a1201b619f4">getHash</a> () const </td></tr>
<tr class="memdesc:a1b26faed1336dee886105a1201b619f4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns hash for current position. <br/></td></tr>
<tr class="separator:a1b26faed1336dee886105a1201b619f4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a59082f27d8f96fc37de407cb77fd0ea5"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a59082f27d8f96fc37de407cb77fd0ea5"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_chess_board.html#a59082f27d8f96fc37de407cb77fd0ea5">getHalfMoveClock</a> () const </td></tr>
<tr class="memdesc:a59082f27d8f96fc37de407cb77fd0ea5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns half move clock. <br/></td></tr>
<tr class="separator:a59082f27d8f96fc37de407cb77fd0ea5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5cde9075f0b58d6ec2cff5672fea4bc8"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5cde9075f0b58d6ec2cff5672fea4bc8"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_chess_board.html#a5cde9075f0b58d6ec2cff5672fea4bc8">getFullMoveClock</a> () const </td></tr>
<tr class="memdesc:a5cde9075f0b58d6ec2cff5672fea4bc8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns full move clock. <br/></td></tr>
<tr class="separator:a5cde9075f0b58d6ec2cff5672fea4bc8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2d372757f127000773d3cb8696f499b7"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_chess_board.html#a2d372757f127000773d3cb8696f499b7">toFEN</a> () const </td></tr>
<tr class="memdesc:a2d372757f127000773d3cb8696f499b7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Converts the current board state into FEN notation.  <a href="#a2d372757f127000773d3cb8696f499b7">More...</a><br/></td></tr>
<tr class="separator:a2d372757f127000773d3cb8696f499b7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a081989eac9f68b03db955ba68239faaf"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a081989eac9f68b03db955ba68239faaf"></a>
Field&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_chess_board.html#a081989eac9f68b03db955ba68239faaf">getEnPassantSquare</a> () const </td></tr>
<tr class="memdesc:a081989eac9f68b03db955ba68239faaf"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the field where en-passant rights exist. ERR if none. <br/></td></tr>
<tr class="separator:a081989eac9f68b03db955ba68239faaf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3aace2ced12ff4a3eaac1e0e3d5432b2"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3aace2ced12ff4a3eaac1e0e3d5432b2"></a>
std::array&lt; bool, NUM_PLAYERS &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_chess_board.html#a3aace2ced12ff4a3eaac1e0e3d5432b2">getShortCastleRights</a> () const </td></tr>
<tr class="memdesc:a3aace2ced12ff4a3eaac1e0e3d5432b2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns short castle rights for players. <br/></td></tr>
<tr class="separator:a3aace2ced12ff4a3eaac1e0e3d5432b2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1208d7e82f41b8e272d646bf4169c577"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1208d7e82f41b8e272d646bf4169c577"></a>
std::array&lt; bool, NUM_PLAYERS &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_chess_board.html#a1208d7e82f41b8e272d646bf4169c577">getLongCastleRights</a> () const </td></tr>
<tr class="memdesc:a1208d7e82f41b8e272d646bf4169c577"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns long castle rights for players. <br/></td></tr>
<tr class="separator:a1208d7e82f41b8e272d646bf4169c577"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a567e519cf53ae019112678af8e38b622"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a567e519cf53ae019112678af8e38b622"></a>
std::array&lt; bool, NUM_PLAYERS &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_chess_board.html#a567e519cf53ae019112678af8e38b622">getKingInCheck</a> () const </td></tr>
<tr class="memdesc:a567e519cf53ae019112678af8e38b622"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns whether the king of the player is in check or not. <br/></td></tr>
<tr class="separator:a567e519cf53ae019112678af8e38b622"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac4a6c01a3e1a0109e135848898025be7"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac4a6c01a3e1a0109e135848898025be7"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_chess_board.html#ac4a6c01a3e1a0109e135848898025be7">isStalemate</a> () const </td></tr>
<tr class="memdesc:ac4a6c01a3e1a0109e135848898025be7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gameover-Flag for stalemate position (gameover, no winner). <br/></td></tr>
<tr class="separator:ac4a6c01a3e1a0109e135848898025be7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adbad856fde411e1def92582c72f163a1"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="adbad856fde411e1def92582c72f163a1"></a>
std::array&lt; bool, NUM_PLAYERS &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_chess_board.html#adbad856fde411e1def92582c72f163a1">getCheckmate</a> () const </td></tr>
<tr class="memdesc:adbad856fde411e1def92582c72f163a1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gameover-Flag for checkmate. <br/></td></tr>
<tr class="separator:adbad856fde411e1def92582c72f163a1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7075b709c7cf0062bcbd3df8fc43f98d"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7075b709c7cf0062bcbd3df8fc43f98d"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_chess_board.html#a7075b709c7cf0062bcbd3df8fc43f98d">isGameOver</a> () const </td></tr>
<tr class="memdesc:a7075b709c7cf0062bcbd3df8fc43f98d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns true if the game is over. <br/></td></tr>
<tr class="separator:a7075b709c7cf0062bcbd3df8fc43f98d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a33bf2bb0050730099562e962d69f2419"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a33bf2bb0050730099562e962d69f2419"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_chess_board.html#a33bf2bb0050730099562e962d69f2419">isDrawDueTo50MovesRule</a> () const </td></tr>
<tr class="memdesc:a33bf2bb0050730099562e962d69f2419"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns true if the game is draw due to the 50 moves rule. <br/></td></tr>
<tr class="separator:a33bf2bb0050730099562e962d69f2419"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4e177beabcbcdc6a2f59ec341b8ec4fc"><td class="memItemLeft" align="right" valign="top">PlayerColor&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_chess_board.html#a4e177beabcbcdc6a2f59ec341b8ec4fc">getWinner</a> () const </td></tr>
<tr class="memdesc:a4e177beabcbcdc6a2f59ec341b8ec4fc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the winner of the game.  <a href="#a4e177beabcbcdc6a2f59ec341b8ec4fc">More...</a><br/></td></tr>
<tr class="separator:a4e177beabcbcdc6a2f59ec341b8ec4fc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aed18d89038898d1d92f342854c295d57"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aed18d89038898d1d92f342854c295d57"></a>
<a class="el" href="struct_piece.html">Piece</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_chess_board.html#aed18d89038898d1d92f342854c295d57">getLastCapturedPiece</a> () const </td></tr>
<tr class="memdesc:aed18d89038898d1d92f342854c295d57"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the captured piece from the last turn or <a class="el" href="struct_piece.html">Piece(NoPlayer, NoType)</a> if no piece was captured. <br/></td></tr>
<tr class="separator:aed18d89038898d1d92f342854c295d57"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2592cf74ba74a67f7af0a24653ff9fb5"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2592cf74ba74a67f7af0a24653ff9fb5"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>operator==</b> (const <a class="el" href="class_chess_board.html">ChessBoard</a> &amp;other) const </td></tr>
<tr class="separator:a2592cf74ba74a67f7af0a24653ff9fb5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0817b6c2afc46961c9602847872b5436"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0817b6c2afc46961c9602847872b5436"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>operator!=</b> (const <a class="el" href="class_chess_board.html">ChessBoard</a> &amp;other) const </td></tr>
<tr class="separator:a0817b6c2afc46961c9602847872b5436"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a415561adfebb788893ff40aaea4502b4"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a415561adfebb788893ff40aaea4502b4"></a>
std::string&#160;</td><td class="memItemRight" valign="bottom"><b>toString</b> () const </td></tr>
<tr class="separator:a415561adfebb788893ff40aaea4502b4"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a431307acbaaad8bf0e0f1c0afa35a08d"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="class_chess_board.html">ChessBoard</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_chess_board.html#a431307acbaaad8bf0e0f1c0afa35a08d">fromFEN</a> (const std::string &amp;fen)</td></tr>
<tr class="memdesc:a431307acbaaad8bf0e0f1c0afa35a08d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a chessboard from a Forsyth–Edwards Notation string.  <a href="#a431307acbaaad8bf0e0f1c0afa35a08d">More...</a><br/></td></tr>
<tr class="separator:a431307acbaaad8bf0e0f1c0afa35a08d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:ae335d91157ca9f927f171f2e6d6c39c5"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae335d91157ca9f927f171f2e6d6c39c5"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_chess_board.html#ae335d91157ca9f927f171f2e6d6c39c5">updateBitBoards</a> ()</td></tr>
<tr class="memdesc:ae335d91157ca9f927f171f2e6d6c39c5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Updates the helper bit boards. <br/></td></tr>
<tr class="separator:ae335d91157ca9f927f171f2e6d6c39c5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad693b43b092dc20452118a3a7b4d1b5a"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad693b43b092dc20452118a3a7b4d1b5a"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_chess_board.html#ad693b43b092dc20452118a3a7b4d1b5a">setKingInCheck</a> (PlayerColor player, bool kingInCheck)</td></tr>
<tr class="memdesc:ad693b43b092dc20452118a3a7b4d1b5a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set or unset the kingInCheck-Flag. <br/></td></tr>
<tr class="separator:ad693b43b092dc20452118a3a7b4d1b5a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a29ae57f7e0c6d57da5d8711262335be6"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a29ae57f7e0c6d57da5d8711262335be6"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_chess_board.html#a29ae57f7e0c6d57da5d8711262335be6">setStalemate</a> ()</td></tr>
<tr class="memdesc:a29ae57f7e0c6d57da5d8711262335be6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the stalemate-Flag. <br/></td></tr>
<tr class="separator:a29ae57f7e0c6d57da5d8711262335be6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a38d61076dd7630693f4284db78d16652"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a38d61076dd7630693f4284db78d16652"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_chess_board.html#a38d61076dd7630693f4284db78d16652">setCheckmate</a> (PlayerColor player)</td></tr>
<tr class="memdesc:a38d61076dd7630693f4284db78d16652"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the checkmate-Flag. <br/></td></tr>
<tr class="separator:a38d61076dd7630693f4284db78d16652"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:ab1d92307774eb87b65c0a731dcb191f5"><td class="memItemLeft" align="right" valign="top">std::array&lt; std::array<br class="typebreak"/>
&lt; BitBoard, NUM_PIECETYPES+1 &gt;<br class="typebreak"/>
, NUM_PLAYERS &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_chess_board.html#ab1d92307774eb87b65c0a731dcb191f5">m_bb</a></td></tr>
<tr class="memdesc:ab1d92307774eb87b65c0a731dcb191f5"><td class="mdescLeft">&#160;</td><td class="mdescRight">We use bit boards for internal turn generation.  <a href="#ab1d92307774eb87b65c0a731dcb191f5">More...</a><br/></td></tr>
<tr class="separator:ab1d92307774eb87b65c0a731dcb191f5"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-methods"></a>
Private Member Functions</h2></td></tr>
<tr class="memitem:aa66fd0c22576fb2fd1ba3fe5a0b5793f"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa66fd0c22576fb2fd1ba3fe5a0b5793f"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_chess_board.html#aa66fd0c22576fb2fd1ba3fe5a0b5793f">initBitBoards</a> (std::array&lt; <a class="el" href="struct_piece.html">Piece</a>, 64 &gt; board)</td></tr>
<tr class="memdesc:aa66fd0c22576fb2fd1ba3fe5a0b5793f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Init the bit boards from the given chess board in array presentation. <br/></td></tr>
<tr class="separator:aa66fd0c22576fb2fd1ba3fe5a0b5793f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8822d129d96fd857e954ce371e72c6a3"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8822d129d96fd857e954ce371e72c6a3"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_chess_board.html#a8822d129d96fd857e954ce371e72c6a3">applyMoveTurn</a> (const <a class="el" href="class_turn.html">Turn</a> &amp;turn)</td></tr>
<tr class="memdesc:a8822d129d96fd857e954ce371e72c6a3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Applies a "simple" move turn. <br/></td></tr>
<tr class="separator:a8822d129d96fd857e954ce371e72c6a3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac968c5f1018eb92ca273ef3f2305a1c8"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac968c5f1018eb92ca273ef3f2305a1c8"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_chess_board.html#ac968c5f1018eb92ca273ef3f2305a1c8">applyCastleTurn</a> (const <a class="el" href="class_turn.html">Turn</a> &amp;turn)</td></tr>
<tr class="memdesc:ac968c5f1018eb92ca273ef3f2305a1c8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Performs a long/short castle turn. <br/></td></tr>
<tr class="separator:ac968c5f1018eb92ca273ef3f2305a1c8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af375c6e604cee2fbedb0340f9aacbe4c"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af375c6e604cee2fbedb0340f9aacbe4c"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_chess_board.html#af375c6e604cee2fbedb0340f9aacbe4c">applyPromotionTurn</a> (const <a class="el" href="class_turn.html">Turn</a> &amp;turn, const PieceType pieceType)</td></tr>
<tr class="memdesc:af375c6e604cee2fbedb0340f9aacbe4c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Promotes a pawn to a given piece type (Queen | Bishop | Rook | Knight). <br/></td></tr>
<tr class="separator:af375c6e604cee2fbedb0340f9aacbe4c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4dc28ca7db68d048818d7b52bcd4e943"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4dc28ca7db68d048818d7b52bcd4e943"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_chess_board.html#a4dc28ca7db68d048818d7b52bcd4e943">capturePiece</a> (const <a class="el" href="class_turn.html">Turn</a> &amp;turn)</td></tr>
<tr class="memdesc:a4dc28ca7db68d048818d7b52bcd4e943"><td class="mdescLeft">&#160;</td><td class="mdescRight">Determines the type of a captured piece and takes it from the board. <br/></td></tr>
<tr class="separator:a4dc28ca7db68d048818d7b52bcd4e943"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afa2ca9d62fbf4c196ecce26d95b8b157"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="afa2ca9d62fbf4c196ecce26d95b8b157"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_chess_board.html#afa2ca9d62fbf4c196ecce26d95b8b157">addCapturedPiece</a> (const <a class="el" href="struct_piece.html">Piece</a> capturedPiece, Field field)</td></tr>
<tr class="memdesc:afa2ca9d62fbf4c196ecce26d95b8b157"><td class="mdescLeft">&#160;</td><td class="mdescRight">Takes a <a class="el" href="struct_piece.html">Piece</a> from the board and adds it to the captured piece list. <br/></td></tr>
<tr class="separator:afa2ca9d62fbf4c196ecce26d95b8b157"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a109aefc39d981c2b17be3fa7e54deba1"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a109aefc39d981c2b17be3fa7e54deba1"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_chess_board.html#a109aefc39d981c2b17be3fa7e54deba1">updateEnPassantSquare</a> (const <a class="el" href="class_turn.html">Turn</a> &amp;turn)</td></tr>
<tr class="memdesc:a109aefc39d981c2b17be3fa7e54deba1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Resets the enPassantSquare or sets it to the possible field. <br/></td></tr>
<tr class="separator:a109aefc39d981c2b17be3fa7e54deba1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa371aeae444e129c7baee9653a317fee"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa371aeae444e129c7baee9653a317fee"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_chess_board.html#aa371aeae444e129c7baee9653a317fee">updateCastlingRights</a> (const <a class="el" href="class_turn.html">Turn</a> &amp;turn)</td></tr>
<tr class="memdesc:aa371aeae444e129c7baee9653a317fee"><td class="mdescLeft">&#160;</td><td class="mdescRight">Checks whether the given turn affects castling rights and updates them accordingly. <br/></td></tr>
<tr class="separator:aa371aeae444e129c7baee9653a317fee"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr class="memitem:a9b1d8836cd2962cc36a55fc69055bfa4"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9b1d8836cd2962cc36a55fc69055bfa4"></a>
std::array&lt; bool, NUM_PLAYERS &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_chess_board.html#a9b1d8836cd2962cc36a55fc69055bfa4">m_kingInCheck</a></td></tr>
<tr class="memdesc:a9b1d8836cd2962cc36a55fc69055bfa4"><td class="mdescLeft">&#160;</td><td class="mdescRight">King of player in check postion. <br/></td></tr>
<tr class="separator:a9b1d8836cd2962cc36a55fc69055bfa4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3f8a1713916079f98a1a29e3ff2cdcae"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3f8a1713916079f98a1a29e3ff2cdcae"></a>
std::array&lt; bool, NUM_PLAYERS &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_chess_board.html#a3f8a1713916079f98a1a29e3ff2cdcae">m_checkmate</a></td></tr>
<tr class="memdesc:a3f8a1713916079f98a1a29e3ff2cdcae"><td class="mdescLeft">&#160;</td><td class="mdescRight">King of player is checkmate. <br/></td></tr>
<tr class="separator:a3f8a1713916079f98a1a29e3ff2cdcae"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5bfc458b1a3fcf0b4d5bedae1d53de9a"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5bfc458b1a3fcf0b4d5bedae1d53de9a"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_chess_board.html#a5bfc458b1a3fcf0b4d5bedae1d53de9a">m_stalemate</a></td></tr>
<tr class="memdesc:a5bfc458b1a3fcf0b4d5bedae1d53de9a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Game is stalemate. <br/></td></tr>
<tr class="separator:a5bfc458b1a3fcf0b4d5bedae1d53de9a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aca220e449835c01b9996c6e10207cfd4"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aca220e449835c01b9996c6e10207cfd4"></a>
std::array&lt; bool, NUM_PLAYERS &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_chess_board.html#aca220e449835c01b9996c6e10207cfd4">m_shortCastleRight</a></td></tr>
<tr class="memdesc:aca220e449835c01b9996c6e10207cfd4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Short castle rights for players. <br/></td></tr>
<tr class="separator:aca220e449835c01b9996c6e10207cfd4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a57cdf18ab640366eccf0c6319e0b6941"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a57cdf18ab640366eccf0c6319e0b6941"></a>
std::array&lt; bool, NUM_PLAYERS &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_chess_board.html#a57cdf18ab640366eccf0c6319e0b6941">m_longCastleRight</a></td></tr>
<tr class="memdesc:a57cdf18ab640366eccf0c6319e0b6941"><td class="mdescLeft">&#160;</td><td class="mdescRight">Long castle rights for players. <br/></td></tr>
<tr class="separator:a57cdf18ab640366eccf0c6319e0b6941"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1dc65ec797d17b1e66f3daa36c22791f"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1dc65ec797d17b1e66f3daa36c22791f"></a>
Field&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_chess_board.html#a1dc65ec797d17b1e66f3daa36c22791f">m_enPassantSquare</a></td></tr>
<tr class="memdesc:a1dc65ec797d17b1e66f3daa36c22791f"><td class="mdescLeft">&#160;</td><td class="mdescRight">En passant square. <br/></td></tr>
<tr class="separator:a1dc65ec797d17b1e66f3daa36c22791f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4a45fd266f940e9db704444f20f2e670"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4a45fd266f940e9db704444f20f2e670"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_chess_board.html#a4a45fd266f940e9db704444f20f2e670">m_halfMoveClock</a></td></tr>
<tr class="memdesc:a4a45fd266f940e9db704444f20f2e670"><td class="mdescLeft">&#160;</td><td class="mdescRight">Half-move clock. <br/></td></tr>
<tr class="separator:a4a45fd266f940e9db704444f20f2e670"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abbc0a4a2932ac230a660fbe0b5ddeacc"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="abbc0a4a2932ac230a660fbe0b5ddeacc"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_chess_board.html#abbc0a4a2932ac230a660fbe0b5ddeacc">m_fullMoveClock</a></td></tr>
<tr class="memdesc:abbc0a4a2932ac230a660fbe0b5ddeacc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Full move clock. <br/></td></tr>
<tr class="separator:abbc0a4a2932ac230a660fbe0b5ddeacc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae6739b17a2c903ce368fda6c4504fb70"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae6739b17a2c903ce368fda6c4504fb70"></a>
PlayerColor&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_chess_board.html#ae6739b17a2c903ce368fda6c4504fb70">m_nextPlayer</a></td></tr>
<tr class="memdesc:ae6739b17a2c903ce368fda6c4504fb70"><td class="mdescLeft">&#160;</td><td class="mdescRight">Player doing the next turn. <br/></td></tr>
<tr class="separator:ae6739b17a2c903ce368fda6c4504fb70"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a934f63dd2e2e8ca881cd16e8a8948c70"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a934f63dd2e2e8ca881cd16e8a8948c70"></a>
<a class="el" href="struct_piece.html">Piece</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_chess_board.html#a934f63dd2e2e8ca881cd16e8a8948c70">m_lastCapturedPiece</a></td></tr>
<tr class="memdesc:a934f63dd2e2e8ca881cd16e8a8948c70"><td class="mdescLeft">&#160;</td><td class="mdescRight">Capured piece from last turn. <br/></td></tr>
<tr class="separator:a934f63dd2e2e8ca881cd16e8a8948c70"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a876557f39be3ac5cbaea69323134ee94"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a876557f39be3ac5cbaea69323134ee94"></a>
<a class="el" href="class_incremental_material_and_p_s_t_evaluator.html">IncrementalMaterialAndPSTEvaluator</a>&#160;</td><td class="memItemRight" valign="bottom"><b>m_evaluator</b></td></tr>
<tr class="separator:a876557f39be3ac5cbaea69323134ee94"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afca40046cb5e66e071937c94a3e4ee04"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="afca40046cb5e66e071937c94a3e4ee04"></a>
<a class="el" href="class_incremental_zobrist_hasher.html">IncrementalZobristHasher</a>&#160;</td><td class="memItemRight" valign="bottom"><b>m_hasher</b></td></tr>
<tr class="separator:afca40046cb5e66e071937c94a3e4ee04"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="friends"></a>
Friends</h2></td></tr>
<tr class="memitem:a6b5e78a959a41fb5e7973f2d93222e7d"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6b5e78a959a41fb5e7973f2d93222e7d"></a>
class&#160;</td><td class="memItemRight" valign="bottom"><b>TurnGenerator</b></td></tr>
<tr class="separator:a6b5e78a959a41fb5e7973f2d93222e7d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a333da1924787cbefab1d4bbd34b22d91"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a333da1924787cbefab1d4bbd34b22d91"></a>
class&#160;</td><td class="memItemRight" valign="bottom"><b>IncrementalZobristHasher</b></td></tr>
<tr class="separator:a333da1924787cbefab1d4bbd34b22d91"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Chessboard representation and logic implementation. </p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a431307acbaaad8bf0e0f1c0afa35a08d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_chess_board.html">ChessBoard</a> ChessBoard::fromFEN </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>fen</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Create a chessboard from a Forsyth–Edwards Notation string. </p>
<p><a href="http://en.wikipedia.org/wiki/Forsyth%E2%80%93Edwards_Notation">http://en.wikipedia.org/wiki/Forsyth%E2%80%93Edwards_Notation</a> </p>
<dl class="section warning"><dt>Warning</dt><dd>This function does no validation. Do not pass invalid FEN. </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">fen</td><td>FEN String. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a4e177beabcbcdc6a2f59ec341b8ec4fc"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">PlayerColor ChessBoard::getWinner </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the winner of the game. </p>
<p>Returns Player color or NoPlayer on draw. </p>

</div>
</div>
<a class="anchor" id="a2d372757f127000773d3cb8696f499b7"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">string ChessBoard::toFEN </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Converts the current board state into FEN notation. </p>
<dl class="section return"><dt>Returns</dt><dd>State in FEN notation. </dd></dl>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a class="anchor" id="ab1d92307774eb87b65c0a731dcb191f5"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::array&lt;std::array&lt;BitBoard,NUM_PIECETYPES+1&gt;, NUM_PLAYERS&gt; ChessBoard::m_bb</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>We use bit boards for internal turn generation. </p>
<p>At least twelve bit boards are needed for complete board representation + some additional helper boards. </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>S:/dev/3dchess/src/logic/<a class="el" href="_chess_board_8h_source.html">ChessBoard.h</a></li>
<li>S:/dev/3dchess/src/logic/ChessBoard.cpp</li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sun Mar 9 2014 23:12:57 for 3dchess by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
</body>
</html>
